package com.ljf.utility.enums;

import com.fasterxml.jackson.annotation.JsonProperty;
import com.ljf.common.enums.BasicEnum;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Getter;

/**
 * 编译历史表  utility_dat_compile_history  执行结果  execution_result  枚举
 *
 * @author LJF
 * @since 2025-08-30
 */
@Getter
@AllArgsConstructor
public enum UtilityDatCompileHistoryExecutionResultEnum implements BasicEnum {

    SUCCESS(1, "成功"),
    FAILURE(2, "失败");

    @JsonProperty("code")
    @ApiModelProperty(value = "编码")
    private final Integer code;

    @JsonProperty("name")
    @ApiModelProperty(value = "描述")
    private final String name;

}
